package com.jkj.http.sys.dao;

import java.util.List;

import com.jkj.http.sys.entity.SysUserRoleRelation;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

@Repository
public interface SysUserRoleRelationDao {

    List<SysUserRoleRelation> getUserRoleRelations(@Param("userId") String userId);

    int delete(@Param("id") String id);

    int insert(SysUserRoleRelation item);

    void deleteByUserId(@Param("userId") String userId);

}
